Portability between non-Windows and Windows systems
Most existing Synergy applications will run on Windows without any additional work beyond installing and using the Windows runtime. Here are some suggestions:
-
First check for any conditionally compiled code. If any exists, evaluate it for possible changes when running on Windows.
If changes are necessary, you can use the built-in define D_GUI to conditionalize your code. If you make any changes, you must recompile and relink your application.
We recommend conditionalizing the code at runtime by comparing the machine argument returned from the ENVRN subroutine to the 101 or 104 system code. With this method, you can take advantage of little-endian system compatibility, which requires no recompiling or relinking.
-
If your application has been compiled and linked using versions of dbl and dblink that are older than the versions running on Windows, or if it has been built on a big-endian system, you must recompile and relink your application.